import defaultSettings from '@/settings'
import request from '@/utils/request'

export const apiUrlConfig = {
    queryUrl: `${defaultSettings.ctx.cnapsApp}/feeManage/FeeItemManage/search`,
}



// 明细查询
export function save(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/feeManage/FeeItemManage/save`,
    method: 'post',
    data
  })
}

// 明细查询
export function update(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/feeManage/FeeItemManage/update`,
    method: 'post',
    data
  })
}

// 明细查询
export function del(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/feeManage/FeeItemManage/delete`,
    method: 'post',
    params:{feeCode:data.feeCode}
  })
}
